from PyInstaller.utils.hooks import collect_dynamic_libs, collect_data_files, collect_submodules

hiddenimports = ['doclayout_yolo']

 

hiddenimports += collect_submodules('doclayout_yolo')

binaries = collect_dynamic_libs('doclayout_yolo')

datas = collect_data_files('doclayout_yolo')